import Vue from 'vue'
import vuex from 'vuex'
import actions from './action'
import getters from './getters'
import home from './modules/home'
import loading from './modules/loading'
import cart from './modules/cart'

Vue.use(vuex);

export default new vuex.Store({
    modules: {
        home,
        loading,
        cart
    },
    getters,
    actions
})